package com.onlinescxhz.demo.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.onlinescxhz.demo.Mapper.GoodsCategoryMapperDao;
import com.onlinescxhz.demo.pojo.GoodsCategory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class GooodsCategoryServiceImpl extends ServiceImpl<GoodsCategoryMapperDao,GoodsCategory> implements GooodsCategoryService {
    @Resource
    private GoodsCategoryMapperDao goodsCategoryMapperDao;

    @Override
    public List<GoodsCategory> selectPagemy(Integer pageNum, Integer pageSize ) {
        return goodsCategoryMapperDao.selectPagemy(pageNum,pageSize);
    }

    @Override
    public Integer selectTot() {
        return goodsCategoryMapperDao.selectTot();
    }
}
